-- GENERATED SPELL FOR [Withered Green Keeper] --


function spell0_15637(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(13584,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15637', 566, 1)
end

function Sorts_15637(pUnit, Event)
local choix_sorts_15637 = math.random(0, 0)
if choix_sorts_15637 == 0 then
pUnit:RegisterEvent('spell0_15637', 1, 1)
end
end

function mob15637_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15637', math.random(1500, 3000), 1)
end

function mob15637_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15637_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15637_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15637, 1, 'mob15637_Action')
RegisterUnitEvent(15637, 2, 'mob15637_Leave')
RegisterUnitEvent(15637, 3, 'mob15637_Kill')
RegisterUnitEvent(15637, 4, 'mob15637_Die')
